package com.mtask.web.service;

import com.mtask.common.dto.TaskGroupResponseDTO;
import com.mtask.common.dto.TaskGroupDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface GroupService {
    void save(TaskGroupDTO dto);
    Page<TaskGroupResponseDTO> findAll(Pageable pageable);
    void deleteById(Integer id);

    List<TaskGroupResponseDTO> findByProjectId(Integer id);
}
